package com.seu.design.principle.demeter;

/**
 * 迪米特法则(也称为最小知识原则)
 *
 * @author liangfeihu
 * @since 2018/11/1 15:20
 */
public class Test {

    public static void main(String[] args) {
        Boss boss = new Boss();
        TeamLeader teamLeader = new TeamLeader();
        boss.commandCheckNumber(teamLeader);
    }

}
